← Back to issue list

Library linter should still consider ignored files for dependencies

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2080610
Type
issue
State
open
Author
~saviq
Labels
Created
2024-09-13 08:43:11.545535+00:00
Updated
2024-09-26 19:28:13.858162+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Start with: ``` Lint warnings: - library: libEGL_mesa.so.0: unused library 'usr/lib/x86_64-linux-gnu/libEGL_mesa.so.0.0.0'. (https://snapcraft.io/docs/linters-library) - library: libGLX_mesa.so.0: unused library 'usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0.0.0'. (https://snapcraft.io/docs/linters-library) ``` These are expected, as they're dlopen'ed, so: ``` lint: ignore: - library: - usr/lib/*/libEGL_mesa.so* - usr/lib/*/libGLX_mesa.so* ``` And then… ``` Lint warnings: - library: libXxf86vm.so.1: unused library 'usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxcb-dri2.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxcb-glx.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxcb-present.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxcb-sync.so.1: unused library 'usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxcb-xfixes.so.0: unused library 'usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0'. (https://snapcraft.io/docs/linters-library) - library: libxshmfence.so.1: unused library 'usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0'. (https://snapcraft.io/docs/linters-library) ``` GAAH!

Evaluation history

No evaluation history available.